package com.ruoyi.shop.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品管理对象 shop
 * 
 * @author ruoyi
 * @date 2025-05-19
 */
public class Shop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String shopName;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal shopPrice;

    /** 库存 */
    @Excel(name = "库存")
    private Long stock;

    /** 商品分类 */
    @Excel(name = "商品分类")
    private Long categoryId;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String shopImage;

    /** 销量 */
    @Excel(name = "销量")
    private Long number;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setShopPrice(BigDecimal shopPrice) 
    {
        this.shopPrice = shopPrice;
    }

    public BigDecimal getShopPrice() 
    {
        return shopPrice;
    }

    public void setStock(Long stock) 
    {
        this.stock = stock;
    }

    public Long getStock() 
    {
        return stock;
    }

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setShopImage(String shopImage) 
    {
        this.shopImage = shopImage;
    }

    public String getShopImage() 
    {
        return shopImage;
    }

    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shopName", getShopName())
            .append("description", getDescription())
            .append("shopPrice", getShopPrice())
            .append("stock", getStock())
            .append("categoryId", getCategoryId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("shopImage", getShopImage())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("number", getNumber())
            .toString();
    }
}
